//
//  MyBookCityView.h
//  悦读
//
//  Created by dllo on 15/5/22.
//  Copyright (c) 2015年 贾建兴. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol MyBookCityViewDelegate <NSObject>

// 定义协议, 协议方法实现跳转界面并且传过去bookId, 便于确定具体的书
- (void)pushBookDetailView:(NSString *)bookId;

@end
@interface MyBookCityView : UIView


// 定义一个imageview, 一个小说名label, 一个小说作者label

@property(nonatomic, retain)UIImageView *image;
@property(nonatomic, retain)UILabel *nameLabel;
@property(nonatomic, retain)UILabel *authorLabel;

// 给书籍详情传值
@property(nonatomic, copy)NSString *bookId;
// 定义代理人
@property(nonatomic, assign) id delegate;

@end
